package com.sinosoft.msf.base.supplier.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Contract {
    /**
     * 联系人id
     */
    private String id;
    /**
     * 联系人邮箱
     */
    @NotNull(message = "联系人邮箱不能为空")
    private String contactEmail;
    /**
     * 联系人姓名
     */
    @NotNull(message = "联系人姓名不能为空")
    private String contactName;
    /**
     * 联系人手机号
     */
    @NotNull(message = "联系人手机号不能为空")
    private String contactPhone;
    /**
     * 联系人职务
     */
    @NotNull(message = "联系人职务不能为空")
    private String contactPosition;
}